<%--
  Created by IntelliJ IDEA.
  User: WangWeiwei
  Date: 16-10-21
  Time: 上午10:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <link href="${basePath}/resources/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="${basePath}/resources/umeditor/umeditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="${basePath}/resources/umeditor/umeditor.min.js"></script>
    <script type="text/javascript" src="${basePath}/resources/umeditor/lang/zh-cn/zh-cn.js"></script>

<!--style给定宽度可以影响编辑器的最终宽度-->
<div type="text/plain" id="myEditor${editorId}" class="span12" style="height: 200px;">
    <p>这里我可以写一些输入提示</p>
</div>


<div class="clear"></div>
<script type="text/javascript">
    //实例化编辑器
    var um${editorId} = UM.getEditor('myEditor${editorId}');
</script>